package com.jiaozi.core.runner;

import com.jiaozi.system.service.SysConfigsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;


@Component
@Slf4j
public class MyApplicationCommandLineRunner implements CommandLineRunner {
    @Autowired
    private SysConfigsService sysConfigsService;

    @Override
    public void run(String... args) throws Exception {
        log.info("系统初始化");
        sysConfigsService.sysConfigsInfo();

    }
}